package cn.tedu.spring.auto;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * @Author: Miyako
 * @Date: 2024-08-02-15:13
 * @Description:
 */
@Service
public class UserCache {
    @Autowired
    @Qualifier(value = "A")
    private Cache ca;

    @Override
    public String toString() {
        return "UserCache{" +
                "ca=" + ca +
                '}';
    }
}
